@tutti-os/agent-gui 0.0.189 → 0.0.190
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AgentRichTextReadonly-UZQ5VSGO.js +19 -0
- package/dist/agent-conversation/index.d.ts +4 -4
- package/dist/agent-conversation/index.js +10 -10
- package/dist/agent-gui.d.ts +9 -6
- package/dist/agent-gui.js +21 -21
- package/dist/agent-message-center/index.d.ts +1 -1
- package/dist/agent-message-center/index.js +9 -9
- package/dist/{agentConversationVM-CYXZSrh9.d.ts → agentConversationVM-Bn5s1UMx.d.ts} +38 -1
- package/dist/{agentGuiNodeTypes-DAT3XJON.d.ts → agentGuiNodeTypes-RL1iNmSe.d.ts} +15 -2
- package/dist/agents.d.ts +1 -1
- package/dist/app/renderer/agentactivity.css +4 -3
- package/dist/{chunk-Z5IASLIU.js → chunk-2CZIBPST.js} +4 -4
- package/dist/{chunk-F5YFT4VB.js → chunk-2TPRBVDM.js} +1832 -1383
- package/dist/chunk-2TPRBVDM.js.map +1 -0
- package/dist/{chunk-CAZ7NYUE.js → chunk-44IFVKLS.js} +2 -2
- package/dist/{chunk-NCD5I4OB.js → chunk-4ZCSXKK5.js} +3 -3
- package/dist/{chunk-LLIM2OX6.js → chunk-6YRJ4OPB.js} +2 -2
- package/dist/{chunk-VGUKS6JR.js → chunk-AHDJFZAC.js} +123 -11
- package/dist/chunk-AHDJFZAC.js.map +1 -0
- package/dist/{chunk-ZREBC77R.js → chunk-CFWR4C36.js} +2 -2
- package/dist/{chunk-YSA4MXR5.js → chunk-DCZTHKWI.js} +2 -2
- package/dist/{chunk-5CLSJWUN.js → chunk-EWS7OGQK.js} +8 -1
- package/dist/chunk-EWS7OGQK.js.map +1 -0
- package/dist/{chunk-AODSTIED.js → chunk-F2U7LSJN.js} +2 -2
- package/dist/{chunk-U7GYZU6V.js → chunk-FJ4A3A6W.js} +5 -5
- package/dist/{chunk-BVA5SVOD.js → chunk-HD2TXBXU.js} +1190 -765
- package/dist/chunk-HD2TXBXU.js.map +1 -0
- package/dist/{chunk-5UTK6FDH.js → chunk-HH5PLD7L.js} +3 -3
- package/dist/{chunk-ETJFWUCA.js → chunk-HOT2PJ6T.js} +4 -4
- package/dist/{chunk-OKBVGNH7.js → chunk-KE3UYJMW.js} +2 -2
- package/dist/{chunk-6II57C72.js → chunk-ML53N3II.js} +2 -2
- package/dist/{chunk-V3QHMEJZ.js → chunk-QKCSWK7Y.js} +4 -4
- package/dist/{chunk-E5X3DSQZ.js → chunk-RSFK6YRS.js} +9 -9
- package/dist/{chunk-2674YZOF.js → chunk-RWUYIHO3.js} +3 -3
- package/dist/{chunk-SZVHT57M.js → chunk-UCDLFE2I.js} +2 -2
- package/dist/{chunk-KAF6JPGL.js → chunk-V3VPKWVK.js} +3 -3
- package/dist/chunk-V3VPKWVK.js.map +1 -0
- package/dist/context-mention-palette/index.js +10 -10
- package/dist/{contribution-C0MnLVKF.d.ts → contribution-DfeuQHH6.d.ts} +39 -0
- package/dist/conversation-rail-runtime.d.ts +7 -3
- package/dist/dock-icons.js +2 -2
- package/dist/i18n/index.d.ts +90 -14
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +187 -18
- package/dist/index.js +21 -21
- package/dist/mention-search.js +8 -8
- package/dist/provider-identity.js +1 -1
- package/dist/{types-CWFDZVkv.d.ts → types-izfKbJ8v.d.ts} +40 -0
- package/dist/workbench/contribution.d.ts +1 -1
- package/dist/workbench/contribution.js +9 -9
- package/dist/workbench/index.d.ts +2 -2
- package/dist/workbench/index.js +9 -9
- package/dist/workbench/launch.js +3 -3
- package/dist/workbench/providerCatalog.js +2 -2
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workbench/state.js +3 -3
- package/package.json +14 -14
- package/dist/AgentRichTextReadonly-OKZPTCIX.js +0 -19
- package/dist/chunk-5CLSJWUN.js.map +0 -1
- package/dist/chunk-BVA5SVOD.js.map +0 -1
- package/dist/chunk-F5YFT4VB.js.map +0 -1
- package/dist/chunk-KAF6JPGL.js.map +0 -1
- package/dist/chunk-VGUKS6JR.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-OKZPTCIX.js.map → AgentRichTextReadonly-UZQ5VSGO.js.map} +0 -0
- /package/dist/{chunk-Z5IASLIU.js.map → chunk-2CZIBPST.js.map} +0 -0
- /package/dist/{chunk-CAZ7NYUE.js.map → chunk-44IFVKLS.js.map} +0 -0
- /package/dist/{chunk-NCD5I4OB.js.map → chunk-4ZCSXKK5.js.map} +0 -0
- /package/dist/{chunk-LLIM2OX6.js.map → chunk-6YRJ4OPB.js.map} +0 -0
- /package/dist/{chunk-ZREBC77R.js.map → chunk-CFWR4C36.js.map} +0 -0
- /package/dist/{chunk-YSA4MXR5.js.map → chunk-DCZTHKWI.js.map} +0 -0
- /package/dist/{chunk-AODSTIED.js.map → chunk-F2U7LSJN.js.map} +0 -0
- /package/dist/{chunk-U7GYZU6V.js.map → chunk-FJ4A3A6W.js.map} +0 -0
- /package/dist/{chunk-5UTK6FDH.js.map → chunk-HH5PLD7L.js.map} +0 -0
- /package/dist/{chunk-ETJFWUCA.js.map → chunk-HOT2PJ6T.js.map} +0 -0
- /package/dist/{chunk-OKBVGNH7.js.map → chunk-KE3UYJMW.js.map} +0 -0
- /package/dist/{chunk-6II57C72.js.map → chunk-ML53N3II.js.map} +0 -0
- /package/dist/{chunk-V3QHMEJZ.js.map → chunk-QKCSWK7Y.js.map} +0 -0
- /package/dist/{chunk-E5X3DSQZ.js.map → chunk-RSFK6YRS.js.map} +0 -0
- /package/dist/{chunk-2674YZOF.js.map → chunk-RWUYIHO3.js.map} +0 -0
- /package/dist/{chunk-SZVHT57M.js.map → chunk-UCDLFE2I.js.map} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AgentRichTextReadonly
|
|
3
|
+
} from "./chunk-6YRJ4OPB.js";
|
|
4
|
+
import "./chunk-4ZCSXKK5.js";
|
|
5
|
+
import "./chunk-3V5OCA2M.js";
|
|
6
|
+
import "./chunk-FGLQZ6I4.js";
|
|
7
|
+
import "./chunk-ZVYUTXQJ.js";
|
|
8
|
+
import "./chunk-RWUYIHO3.js";
|
|
9
|
+
import "./chunk-44IFVKLS.js";
|
|
10
|
+
import "./chunk-5BJYO6X3.js";
|
|
11
|
+
import "./chunk-F2U7LSJN.js";
|
|
12
|
+
import "./chunk-AHDJFZAC.js";
|
|
13
|
+
import "./chunk-D2JUDUYY.js";
|
|
14
|
+
import "./chunk-QNE2ZPPV.js";
|
|
15
|
+
import "./chunk-EWS7OGQK.js";
|
|
16
|
+
export {
|
|
17
|
+
AgentRichTextReadonly
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=AgentRichTextReadonly-UZQ5VSGO.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, JSX } from 'react';
|
|
3
|
-
import { c as AgentConversationVM, g as WorkspaceLinkAction, f as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-
|
|
4
|
-
export { B as BuildWorkspaceAgentSessionDetailInput, W as WorkspaceAgentActivityCard, e as WorkspaceAgentActivityTimelineItem, h as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-
|
|
5
|
-
import { d as AgentGUIProviderSkillOption, h as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-
|
|
3
|
+
import { c as AgentConversationVM, g as WorkspaceLinkAction, f as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-Bn5s1UMx.js';
|
|
4
|
+
export { B as BuildWorkspaceAgentSessionDetailInput, W as WorkspaceAgentActivityCard, e as WorkspaceAgentActivityTimelineItem, h as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-Bn5s1UMx.js';
|
|
5
|
+
import { d as AgentGUIProviderSkillOption, h as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-RL1iNmSe.js';
|
|
6
6
|
import { AgentActivityMessage } from '@tutti-os/agent-activity-core';
|
|
7
7
|
import '@tutti-os/workspace-issue-manager/core';
|
|
8
|
-
import '../types-
|
|
8
|
+
import '../types-izfKbJ8v.js';
|
|
9
9
|
import '@tutti-os/workspace-user-project/contracts';
|
|
10
10
|
|
|
11
11
|
interface AgentConversationFlowProps {
|
|
@@ -7,29 +7,29 @@ import {
|
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
serializeAgentConversationForClipboard,
|
|
9
9
|
useProjectedAgentConversation
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-HD2TXBXU.js";
|
|
11
|
+
import "../chunk-6YRJ4OPB.js";
|
|
12
12
|
import "../chunk-THBCAUBR.js";
|
|
13
13
|
import "../chunk-XJ34OIEQ.js";
|
|
14
14
|
import "../chunk-JDVP33S5.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-4ZCSXKK5.js";
|
|
16
16
|
import "../chunk-3V5OCA2M.js";
|
|
17
17
|
import "../chunk-FGLQZ6I4.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-2CZIBPST.js";
|
|
19
19
|
import "../chunk-ZVYUTXQJ.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-V3VPKWVK.js";
|
|
21
21
|
import "../chunk-F5UR6EJG.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-RWUYIHO3.js";
|
|
23
23
|
import {
|
|
24
24
|
translate
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-44IFVKLS.js";
|
|
26
26
|
import "../chunk-5BJYO6X3.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-F2U7LSJN.js";
|
|
28
|
+
import "../chunk-AHDJFZAC.js";
|
|
29
29
|
import "../chunk-MIJXEELH.js";
|
|
30
30
|
import "../chunk-D2JUDUYY.js";
|
|
31
31
|
import "../chunk-QNE2ZPPV.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-EWS7OGQK.js";
|
|
33
33
|
|
|
34
34
|
// shared/WorkspaceAgentSessionDetail.tsx
|
|
35
35
|
import { useMemo } from "react";
|
package/dist/agent-gui.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
4
|
-
import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivitySessionSettings,
|
|
5
|
-
import { k as AgentHostAgentSessionComposerSettings, o as AgentHostUnactivateAgentSessionResult, b as AgentGUIAgentTarget, f as AgentGUIProvider, p as AgentPromptContentBlock, e as AgentGUINodeData, P as Point, g as AgentGUIProviderRailAllPresentation, h as AgentGUIProviderRailMode, i as AgentGUIProviderReadinessGate, d as AgentGUIHomeSuggestionId, N as NodeFrame, a as AgentGUIAgentDirectorySnapshot, c as AgentGUIAllAgentsPresentation } from './types-
|
|
6
|
-
import { A as AgentComposerDraft, i as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, h as AgentMessageMarkdownWorkspaceAppIcon, j as AgentSlashCommandCapability, c as AgentGUINodeViewModel, a as AgentComposerDraftFile, k as AgentUsageQuota, g as AgentHostInputApi } from './agentGuiNodeTypes-
|
|
4
|
+
import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivitySessionSettings, AgentActivityActivateSessionResult, AgentActivitySnapshot, AgentSessionEngine, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySendInputResult, AgentActivityRenameSessionInput, AgentActivitySetCollaborationAdoptionInput, AgentActivityCollaborationRun, AgentActivitySubmitInteractiveInput, AgentActivitySubmitInteractiveResult, AgentActivitySnapshotListener, AgentActivitySubmitSettingsPatch } from '@tutti-os/agent-activity-core';
|
|
5
|
+
import { k as AgentHostAgentSessionComposerSettings, o as AgentHostUnactivateAgentSessionResult, b as AgentGUIAgentTarget, f as AgentGUIProvider, p as AgentPromptContentBlock, e as AgentGUINodeData, P as Point, g as AgentGUIProviderRailAllPresentation, h as AgentGUIProviderRailMode, i as AgentGUIProviderReadinessGate, d as AgentGUIHomeSuggestionId, N as NodeFrame, a as AgentGUIAgentDirectorySnapshot, c as AgentGUIAllAgentsPresentation } from './types-izfKbJ8v.js';
|
|
6
|
+
import { A as AgentComposerDraft, i as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, h as AgentMessageMarkdownWorkspaceAppIcon, j as AgentSlashCommandCapability, c as AgentGUINodeViewModel, a as AgentComposerDraftFile, k as AgentUsageQuota, g as AgentHostInputApi } from './agentGuiNodeTypes-RL1iNmSe.js';
|
|
7
7
|
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
8
8
|
export { ReferenceProvenanceCatalog as AgentGUIReferenceProvenanceFilterCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
9
9
|
import { A as AgentContextMentionItem } from './agentFileMentionContracts-B0yQizXB.js';
|
|
10
10
|
import { A as AgentGuiI18nLocale } from './runtime-Dwf44VKc.js';
|
|
11
11
|
import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
|
|
12
12
|
import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
|
|
13
|
-
import { b as AgentConversationPromptVM, g as WorkspaceLinkAction } from './agentConversationVM-
|
|
13
|
+
import { b as AgentConversationPromptVM, g as WorkspaceLinkAction } from './agentConversationVM-Bn5s1UMx.js';
|
|
14
14
|
import { WorkspaceUserProjectI18nRuntime } from '@tutti-os/workspace-user-project/i18n';
|
|
15
15
|
import { WorkspaceUserProjectSelectChangeAction } from '@tutti-os/workspace-user-project/ui';
|
|
16
16
|
import { WorkspaceUserProject } from '@tutti-os/workspace-user-project/contracts';
|
|
@@ -192,12 +192,10 @@ interface AgentActivityRuntimeActivateSessionInputBase {
|
|
|
192
192
|
type AgentActivityRuntimeActivateSessionInput = (AgentActivityRuntimeActivateSessionInputBase & {
|
|
193
193
|
agentTargetId: string;
|
|
194
194
|
clientSubmitId: string;
|
|
195
|
-
initialGoalControl?: AgentActivityInitialGoalControl;
|
|
196
195
|
mode: "new";
|
|
197
196
|
}) | (AgentActivityRuntimeActivateSessionInputBase & {
|
|
198
197
|
agentTargetId?: string | null;
|
|
199
198
|
clientSubmitId?: never;
|
|
200
|
-
initialGoalControl?: never;
|
|
201
199
|
mode: "existing";
|
|
202
200
|
});
|
|
203
201
|
interface AgentActivityRuntimeUnactivateSessionInput {
|
|
@@ -345,6 +343,11 @@ interface AgentActivityRuntime {
|
|
|
345
343
|
readSessionAttachment?(input: AgentActivityRuntimeReadSessionAttachmentInput): Promise<AgentActivityRuntimeSessionAttachment>;
|
|
346
344
|
readPromptAsset?(input: AgentActivityRuntimeReadPromptAssetInput): Promise<AgentActivityRuntimePromptAsset>;
|
|
347
345
|
renameSession(input: AgentActivityRenameSessionInput): Promise<AgentActivitySession>;
|
|
346
|
+
/**
|
|
347
|
+
* Record whether a collaboration outcome was adopted.
|
|
348
|
+
* Optional; hosts without support omit it and adoption controls stay hidden.
|
|
349
|
+
*/
|
|
350
|
+
setCollaborationAdoption?(input: AgentActivitySetCollaborationAdoptionInput): Promise<AgentActivityCollaborationRun>;
|
|
348
351
|
setSessionPinned(input: AgentActivityRuntimeSetSessionPinnedInput): Promise<AgentActivitySession>;
|
|
349
352
|
trackSettingsProjectChange?(input: AgentActivityRuntimeTrackSettingsProjectChangeInput): Promise<void>;
|
|
350
353
|
trackDraftComposerSettingsChange?(input: AgentActivityRuntimeTrackDraftComposerSettingsChangeInput): Promise<void>;
|
package/dist/agent-gui.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentGUI
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2TPRBVDM.js";
|
|
4
4
|
import "./chunk-LB4AGT7B.js";
|
|
5
5
|
import "./chunk-A4WCTHWS.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-RSFK6YRS.js";
|
|
7
|
+
import "./chunk-ML53N3II.js";
|
|
8
|
+
import "./chunk-DCZTHKWI.js";
|
|
9
9
|
import "./chunk-MHOYBRCY.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-UCDLFE2I.js";
|
|
11
|
+
import "./chunk-HH5PLD7L.js";
|
|
12
|
+
import "./chunk-HD2TXBXU.js";
|
|
13
|
+
import "./chunk-6YRJ4OPB.js";
|
|
14
14
|
import "./chunk-THBCAUBR.js";
|
|
15
15
|
import "./chunk-UP3ZDYTN.js";
|
|
16
16
|
import "./chunk-GUFEHWUX.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-FJ4A3A6W.js";
|
|
18
18
|
import "./chunk-CX6XXG6R.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-CFWR4C36.js";
|
|
20
|
+
import "./chunk-HOT2PJ6T.js";
|
|
21
21
|
import "./chunk-VMPA46ET.js";
|
|
22
22
|
import "./chunk-XJ34OIEQ.js";
|
|
23
23
|
import "./chunk-JDVP33S5.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-4ZCSXKK5.js";
|
|
25
25
|
import "./chunk-3V5OCA2M.js";
|
|
26
26
|
import "./chunk-RMQREVJY.js";
|
|
27
27
|
import "./chunk-FGLQZ6I4.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-QKCSWK7Y.js";
|
|
29
29
|
import "./chunk-EVQ4JY3N.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-2CZIBPST.js";
|
|
31
31
|
import "./chunk-ZVYUTXQJ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-KE3UYJMW.js";
|
|
33
33
|
import "./chunk-YMXYBG7U.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-V3VPKWVK.js";
|
|
35
35
|
import "./chunk-F5UR6EJG.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-RWUYIHO3.js";
|
|
37
|
+
import "./chunk-44IFVKLS.js";
|
|
38
38
|
import "./chunk-5BJYO6X3.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-F2U7LSJN.js";
|
|
40
|
+
import "./chunk-AHDJFZAC.js";
|
|
41
41
|
import "./chunk-MIJXEELH.js";
|
|
42
42
|
import "./chunk-D2JUDUYY.js";
|
|
43
43
|
import "./chunk-QNE2ZPPV.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-EWS7OGQK.js";
|
|
45
45
|
export {
|
|
46
46
|
AgentGUI
|
|
47
47
|
};
|
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { JSX, ReactNode, HTMLAttributes } from 'react';
|
|
3
3
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
4
4
|
import { A as AgentGuiI18nLocale, T as TranslateFn } from '../runtime-Dwf44VKc.js';
|
|
5
|
-
import { d as WorkspaceAgentActivityStatus, b as AgentConversationPromptVM, g as WorkspaceLinkAction } from '../agentConversationVM-
|
|
5
|
+
import { d as WorkspaceAgentActivityStatus, b as AgentConversationPromptVM, g as WorkspaceLinkAction } from '../agentConversationVM-Bn5s1UMx.js';
|
|
6
6
|
import { AgentActivityNeedsAttentionItem, AgentSessionEngine, WorkspaceAgentConsumerSession, AgentActivitySnapshot, AgentSessionEngineState } from '@tutti-os/agent-activity-core';
|
|
7
7
|
export { WorkspaceAgentConsumerCounts, WorkspaceAgentConsumerSession, selectWorkspaceAgentConsumerCounts, selectWorkspaceAgentConsumerSession, selectWorkspaceAgentConsumerSessions } from '@tutti-os/agent-activity-core';
|
|
8
8
|
import '@tutti-os/workspace-issue-manager/core';
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isPromptRequestIdTitle,
|
|
9
9
|
latestPlanTurnId,
|
|
10
10
|
planImplementationPromptFromPlanTurn
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-QKCSWK7Y.js";
|
|
12
12
|
import {
|
|
13
13
|
useEngineSelector
|
|
14
14
|
} from "../chunk-EVQ4JY3N.js";
|
|
@@ -21,38 +21,38 @@ import {
|
|
|
21
21
|
isExitPlanSwitchModeInput,
|
|
22
22
|
normalizeAgentApprovalPurpose,
|
|
23
23
|
normalizeAskUserQuestions
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-2CZIBPST.js";
|
|
25
25
|
import {
|
|
26
26
|
cn
|
|
27
27
|
} from "../chunk-ZVYUTXQJ.js";
|
|
28
28
|
import {
|
|
29
29
|
userAvatarPlaceholderUrl,
|
|
30
30
|
workspaceAgentActivityStatusLabel
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-KE3UYJMW.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
34
34
|
} from "../chunk-YMXYBG7U.js";
|
|
35
35
|
import {
|
|
36
36
|
workspaceAgentProviderLabel
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-V3VPKWVK.js";
|
|
38
38
|
import "../chunk-F5UR6EJG.js";
|
|
39
39
|
import {
|
|
40
40
|
managedAgentRoundedIconUrl
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-RWUYIHO3.js";
|
|
42
42
|
import {
|
|
43
43
|
AgentGuiI18nProvider,
|
|
44
44
|
getActiveUiLanguage,
|
|
45
45
|
useTranslation
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-44IFVKLS.js";
|
|
47
47
|
import "../chunk-5BJYO6X3.js";
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-F2U7LSJN.js";
|
|
49
|
+
import "../chunk-AHDJFZAC.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeAgentTitleText
|
|
52
52
|
} from "../chunk-MIJXEELH.js";
|
|
53
53
|
import "../chunk-D2JUDUYY.js";
|
|
54
54
|
import "../chunk-QNE2ZPPV.js";
|
|
55
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-EWS7OGQK.js";
|
|
56
56
|
|
|
57
57
|
// agent-message-center/WorkspaceAgentMessageCenterPanel.tsx
|
|
58
58
|
import {
|
|
@@ -325,6 +325,41 @@ interface AgentGoalControlRowVM {
|
|
|
325
325
|
|
|
326
326
|
type AgentTranscriptPresentationKind = "content" | "specific-progress" | "turn-boundary";
|
|
327
327
|
|
|
328
|
+
interface AgentCollaborationUsageVM {
|
|
329
|
+
inputTokens: number;
|
|
330
|
+
outputTokens: number;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Typed projection of one durable "collaboration" timeline message (the
|
|
334
|
+
* daemon projects each collaboration run into the source session transcript
|
|
335
|
+
* with messageId `collab:<runId>`; status transitions update the same message
|
|
336
|
+
* in place). Pure data — rendering and adoption actions live in
|
|
337
|
+
* `AgentCollaborationRow`.
|
|
338
|
+
*/
|
|
339
|
+
interface AgentCollaborationVM {
|
|
340
|
+
kind: "collaboration";
|
|
341
|
+
runId: string;
|
|
342
|
+
/** Session identity of the source transcript row, for adoption commands. */
|
|
343
|
+
workspaceId: string | null;
|
|
344
|
+
agentSessionId: string | null;
|
|
345
|
+
mode: "consult" | "fork" | "delegate" | "handoff" | (string & {});
|
|
346
|
+
status: "running" | "completed" | "failed" | "canceled" | (string & {});
|
|
347
|
+
triggerSource: "user" | "agent" | "policy" | (string & {});
|
|
348
|
+
triggerReason: string | null;
|
|
349
|
+
targetSessionId: string | null;
|
|
350
|
+
targetAgentTargetId: string | null;
|
|
351
|
+
modelPlanId: string | null;
|
|
352
|
+
/** Optional display name when the daemon payload carries it. */
|
|
353
|
+
modelPlanName: string | null;
|
|
354
|
+
model: string | null;
|
|
355
|
+
contextScope: string | null;
|
|
356
|
+
resultText: string | null;
|
|
357
|
+
failureReason: string | null;
|
|
358
|
+
durationMs: number | null;
|
|
359
|
+
usage: AgentCollaborationUsageVM | null;
|
|
360
|
+
adoption: "pending" | "adopted" | "rejected" | "not_applicable" | (string & {});
|
|
361
|
+
}
|
|
362
|
+
|
|
328
363
|
interface AgentMessageContentVM {
|
|
329
364
|
kind: "message-content";
|
|
330
365
|
id: string;
|
|
@@ -333,8 +368,10 @@ interface AgentMessageContentVM {
|
|
|
333
368
|
presentationKind: AgentTranscriptPresentationKind;
|
|
334
369
|
copyText?: string | null;
|
|
335
370
|
statusKind?: ToolCallStatusKind | null;
|
|
336
|
-
contentKind?: "text" | "image-grid" | "plan";
|
|
371
|
+
contentKind?: "text" | "image-grid" | "plan" | "collaboration";
|
|
337
372
|
isTurnFinalText?: true;
|
|
373
|
+
/** Typed payload for `contentKind: "collaboration"` rows. */
|
|
374
|
+
collaboration?: AgentCollaborationVM | null;
|
|
338
375
|
images?: AgentMessageImageVM[];
|
|
339
376
|
occurredAtUnixMs: number | null;
|
|
340
377
|
visibleError?: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgentActivitySession, AgentActivitySlashCommandPolicy, AgentActivityUsage, CanonicalAgentSession } from '@tutti-os/agent-activity-core';
|
|
2
|
-
import { j as AgentHostAgentSessionCommand, k as AgentHostAgentSessionComposerSettings, m as AgentHostAgentSessionReasoningEffort, n as AgentHostAgentSessionSpeed, l as AgentHostAgentSessionPermissionConfig, f as AgentGUIProvider, p as AgentPromptContentBlock, e as AgentGUINodeData, b as AgentGUIAgentTarget, h as AgentGUIProviderRailMode, i as AgentGUIProviderReadinessGate } from './types-
|
|
3
|
-
import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, f as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-
|
|
2
|
+
import { j as AgentHostAgentSessionCommand, k as AgentHostAgentSessionComposerSettings, m as AgentHostAgentSessionReasoningEffort, n as AgentHostAgentSessionSpeed, l as AgentHostAgentSessionPermissionConfig, f as AgentGUIProvider, p as AgentPromptContentBlock, e as AgentGUINodeData, b as AgentGUIAgentTarget, h as AgentGUIProviderRailMode, i as AgentGUIProviderReadinessGate } from './types-izfKbJ8v.js';
|
|
3
|
+
import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, f as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-Bn5s1UMx.js';
|
|
4
4
|
import { WorkspaceUserProjectService } from '@tutti-os/workspace-user-project/contracts';
|
|
5
5
|
|
|
6
6
|
declare const APP_ERROR_CODES: readonly ["common.invalid_input", "common.approved_path_required", "common.unavailable", "common.unexpected", "session.not_found", "control_surface.unauthorized", "workspace.select_directory_failed", "workspace.select_files_failed", "workspace.ensure_directory_failed", "workspace.import_files_failed", "workspace.read_file_failed", "workspace.write_file_failed", "workspace.export_file_failed", "workspace.copy_path_failed", "workspace.host_unsupported", "workspace.runtime_artifact_unavailable", "runtime.guest_agent_lane_unavailable", "workspace.room_full", "workspace.room_delete_forbidden", "workspace.room_delete_not_found", "filesystem.create_directory_failed", "filesystem.read_file_bytes_failed", "filesystem.read_file_text_failed", "filesystem.write_file_text_failed", "filesystem.copy_entry_failed", "filesystem.move_entry_failed", "filesystem.rename_entry_failed", "filesystem.delete_entry_failed", "filesystem.read_directory_failed", "filesystem.stat_failed", "terminal.spawn_failed", "terminal.write_failed", "terminal.resize_failed", "terminal.close_failed", "terminal.attach_failed", "terminal.detach_failed", "terminal.snapshot_failed", "agent.list_models_failed", "agent.launch_failed", "agent.read_last_message_failed", "agent.provider_session_not_found", "agent.resume_session_not_local", "agent.resume_session_resolve_failed", "agent.settings_require_new_session", "task.suggest_title_failed", "persistence.unavailable", "persistence.quota_exceeded", "persistence.payload_too_large", "persistence.io_failed", "persistence.invalid_state", "persistence.invalid_node_id", "update.get_state_failed", "update.configure_failed", "update.check_failed", "update.download_failed", "update.install_failed", "PACKAGE_DOWNLOAD_INTERRUPTED", "PACKAGE_DOWNLOAD_HTTP_STATUS", "PACKAGE_DOWNLOAD_INVALID", "PACKAGE_DOWNLOAD_DISK_ERROR"];
|
|
@@ -576,6 +576,12 @@ interface AgentGUIComposerSettingOption {
|
|
|
576
576
|
label: string;
|
|
577
577
|
description?: string;
|
|
578
578
|
supportsImageInput?: boolean;
|
|
579
|
+
/** Bound plan identity for options aggregated from model access plans. */
|
|
580
|
+
modelPlanId?: string | null;
|
|
581
|
+
/** Display name of the plan (or provider) the option originates from. */
|
|
582
|
+
sourceName?: string;
|
|
583
|
+
/** When the option takes effect after selection. */
|
|
584
|
+
effect?: "new_session" | "next_call";
|
|
579
585
|
}
|
|
580
586
|
interface AgentGUIProviderSkillOption {
|
|
581
587
|
name: string;
|
|
@@ -640,6 +646,11 @@ type AgentComposerDraftContent = [
|
|
|
640
646
|
/** One atomic, unsent composer message. */
|
|
641
647
|
type AgentComposerDraft = AgentComposerDraftContent;
|
|
642
648
|
type AgentComposerDraftFile = Omit<AgentComposerRegularFileBlock, "type" | "kind">;
|
|
649
|
+
interface AgentGUIComposerModelPlanVM {
|
|
650
|
+
id: string;
|
|
651
|
+
name: string;
|
|
652
|
+
protocol?: string | null;
|
|
653
|
+
}
|
|
643
654
|
interface AgentGUIComposerSettingsVM {
|
|
644
655
|
sessionSettings: AgentSessionComposerSettings | null;
|
|
645
656
|
draftSettings: {
|
|
@@ -682,6 +693,8 @@ interface AgentGUIComposerSettingsVM {
|
|
|
682
693
|
projectLocked?: boolean;
|
|
683
694
|
projectPathIsRemote?: boolean;
|
|
684
695
|
collapseModelOptionsToLatest?: boolean;
|
|
696
|
+
modelPlan?: AgentGUIComposerModelPlanVM | null;
|
|
697
|
+
modelSwitchTakesEffectNextTurn?: boolean;
|
|
685
698
|
availableModels: AgentGUIComposerSettingOption[];
|
|
686
699
|
availableReasoningEfforts: AgentGUIComposerSettingOption[];
|
|
687
700
|
availableSpeeds: AgentGUIComposerSettingOption[];
|
package/dist/agents.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AgentGUIAgent, b as AgentGUIAgentTarget } from './types-
|
|
1
|
+
import { A as AgentGUIAgent, b as AgentGUIAgentTarget } from './types-izfKbJ8v.js';
|
|
2
2
|
|
|
3
3
|
declare function normalizeAgentGUIAgents(agents: readonly AgentGUIAgent[] | null | undefined): AgentGUIAgent[];
|
|
4
4
|
declare function agentGUIAgentIsReady(agent: AgentGUIAgent): boolean;
|
|
@@ -8430,11 +8430,12 @@ html[data-theme="light"] [data-message-center-item-id].agent-gui-edge-glow {
|
|
|
8430
8430
|
white-space: nowrap;
|
|
8431
8431
|
}
|
|
8432
8432
|
|
|
8433
|
-
/*
|
|
8434
|
-
text line — drop them from the preview entirely.
|
|
8433
|
+
/* Standalone media, tables, rules, and explicit line breaks cannot collapse
|
|
8434
|
+
into one text line — drop them from the preview entirely. MentionPill owns
|
|
8435
|
+
its nested image icon, which remains part of the inline mention preview. */
|
|
8435
8436
|
.agent-gui-node__composer-queued-prompt-text
|
|
8436
8437
|
.agent-gui-node__composer-queued-prompt-markdown
|
|
8437
|
-
:is(img, video, table, hr, br, input) {
|
|
8438
|
+
:is(img, video, table, hr, br, input):not([data-slot="mention-pill"] *) {
|
|
8438
8439
|
display: none;
|
|
8439
8440
|
}
|
|
8440
8441
|
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
getOptionalAgentHostApi,
|
|
8
8
|
useOptionalAgentHostApi
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V3VPKWVK.js";
|
|
10
10
|
import {
|
|
11
11
|
managedAgentRoundedIconUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RWUYIHO3.js";
|
|
13
13
|
import {
|
|
14
14
|
translate,
|
|
15
15
|
useTranslation
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-44IFVKLS.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveAgentWorkspaceFileVisualKind
|
|
19
19
|
} from "./chunk-5BJYO6X3.js";
|
|
@@ -3728,4 +3728,4 @@ export {
|
|
|
3728
3728
|
AgentMessageMarkdown,
|
|
3729
3729
|
CustomScrollArea
|
|
3730
3730
|
};
|
|
3731
|
-
//# sourceMappingURL=chunk-
|
|
3731
|
+
//# sourceMappingURL=chunk-2CZIBPST.js.map
|